package com.cheng.im.service.group.model.req;

import com.cheng.im.service.common.model.RequestBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("IM修改群成员请求类")
public class UpdateGroupMemberReq extends RequestBase {

    @NotBlank(message = "群id不能为空")
    @ApiModelProperty("群ID")
    private String groupId;

    @NotBlank(message = "memberId不能为空")
    @ApiModelProperty("群成员用户ID")
    private String memberId;

    @ApiModelProperty("别名")
    private String alias;

    @ApiModelProperty("角色")
    private Integer role;

    @ApiModelProperty("额外信息")
    private String extra;

}
